package com.linjiahao.userCenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linjiahao.commonall.base.ResultMap;
import com.linjiahao.userCenter.domain.ChatUserInfo;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName ChatUserInfoService
 * @Description: 用户服务抽象类
 * @Author linjiahao
 * @Date 29/12/2021
 **/
public interface ChatUserInfoService extends IService<ChatUserInfo> {

    ResultMap userLogin(String phone, String code, HttpServletResponse response);

    void logout(String authToken);

    ResultMap getUserInfoBytoken(String authToken);

    ResultMap chatEncrypt(String authToken, HttpServletResponse response);
}
